<script>
import storeDict from "@/store/models/dict";
import storeDictType from "@/store/models/dictType";

export default {
  name: 'pinaInit',
  props: {
    http: {}
  }, methods: {
    async init() {
      await storeDict().init(this.props.http);
      await storeDictType().init(this.props.http);
    }
  }, mounted() {
    this.init()
  }
}
</script>
